package com.woniuxy.cloud.ticket52.form;

import lombok.Data;

import javax.validation.constraints.NotBlank;
import javax.validation.constraints.Size;

@Data
public class MovieAddForm {

    /**
     * 电影名
     */
    @NotBlank
    @Size(min=1,max=256)
    private String name;

    /**
     * 介绍
     */
    @Size(min=5,max=2048)
    private String introduce;

    /**
     * 电影海报
     */
    @Size(min=6,max = 1024)
    private String poster;


    /**
     * 评分
     */
    private String score;

}
